#ifndef __HX7019_H
#define __HX7019_H
#include "stm32f0xx_hal.h"
int Set_Hx7019(void);

void set_acess_addr(uint8_t addr);
void Hx_WriteReg(uint8_t acessaddr,uint8_t regaddr, uint8_t *data,uint8_t n);
void Hx_ReadReg(uint8_t acessaddr, uint8_t regaddr,uint8_t *data,uint8_t n);
void hx_write(uint8_t regaddr, uint8_t data);
char hx_read(uint8_t regaddr, uint8_t data);


#endif
